<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redis;

class WebController extends Controller
{
    public function index()
    {
        Redis::set('string:user:name','zhao bo');
        echo Redis::get('string:user:name');
    }
}
